Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMFrameMouseOver

Passes a mouse-over event to a frame.

OSStatus JMFrameMouseOver (
                     JMFrameRef frame, 
                     Point localPos, 
                     short modifiers);
frame
The frame containing the mouse. This should be the active frame.
localPos
The position of the mouse in frame coordinates.
modifiers
Any keyboard modifiers from the EventRecord structure. See Inside Macintosh: Macintosh Toolbox Essentials, for more information about the EventRecord data structure.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
To monitor the position of the mouse, you should call JMFrameMouseOver and JMIdle each time through the event loop. Note that the client application must keep track of the currently active frame.

SEE ALSO
The JMIdle function (page 57).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997